using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class WorldCradDataShowUI : MonoBehaviour
{
    [SerializeField] private Button openCardPanelButton;

    private void OnEnable()
    {
        openCardPanelButton.onClick.AddListener(() =>
        {

            FindObjectOfType<CardDetailPanel>().Show();
        });
    }

}
